package com.wanlian.netty.msg.Device;

import com.wanlian.json.JsonStringUtil;
import com.wanlian.netty.msg.BaseMsg;
import com.wanlian.netty.msg.Device.model.LoadingInfo;
import com.wanlian.netty.msg.Device.model.TwoAndFiveWifiInfo;
import com.wanlian.netty.msg.MsgType;

/**
 * 获取2g网络参数信息
 */
public class LoadingGetReply extends BaseMsg {

    private LoadingInfo loadingInfo;

    public LoadingGetReply() {
        super();
        this.setType(MsgType.DEVICE_LOADING_REP);
    }


    public LoadingInfo getLoadingInfo() {
        return loadingInfo;
    }

    public void setLoadingInfo(LoadingInfo loadingInfo) {
        this.loadingInfo = loadingInfo;
        this.setContent(JsonStringUtil.writeValueAsString(loadingInfo));
    }
}
